﻿using TI_BLE_HCI_ClientLib.HCIBaseEntities;

namespace TI_BLE_HCI_ClientLib.GenericHCIEntities
{
    public class HCIVendorSpecificCommand : HCICommand
    {
        public HCIVendorSpecificCommand()
            : base()
        {
            base.Ogf = (byte)HCICommandOGF.VendorSpecificCommands;
        }

        public HCIVendorSpecificCommand(HCIVendorSpecificCommandCSG csg, byte commandCode)
            : this()
        {
            base.Ocf = (ushort)(((byte)csg << 7) + commandCode);
        }
    }
}